package com.sky.mapper;

import com.sky.entity.DishFlavor;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author by 孙有泽
 * @Date 2025/3/3 14:30
 * @Description
 */
@Mapper
public interface DishFlavorMapper {
    void insertBatch(List<DishFlavor> flavorList);

    void deleteByDishId(@Param("id") Long id);

    List<DishFlavor> getFlavors(@Param("id") Long id);
}
